# -*- mode: snippet -*-
# name: Long Article Header (Full)
# key: articlel-full
# group: templates
# expand-env: ((yas-indent-line 'fixed))
# --
% \documentclass[a4paper,11pt]{article}
\documentclass[a4paper,11pt,onecolumn,twoside,compsoc]{IEEEtran}  % change to the /article/ class if you don't have /IEEEtran/ cls file
\usepackage[text={360pt, 595pt},centering]{geometry}     % latex /article.cls/ default layout
\usepackage{setspace}
  \onehalfspacing
  % \doublespacing
% \usepackage[margin=1.25in]{geometry}
% \usepackage[top=2.54cm, bottom=2.54cm, left=3.17cm, right=3.17cm]{geometry}  % MS Word default layout
% \usepackage[a4paper, total={5.3in, 7.78in},centering]{geometry}     % /elsarticle.cls/ default draft layout
% \usepackage[hmarginratio=2:3]{geometry}   % default ratio for two-side pages

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}    % using Nimbus Serif, instead of Computer Modern Serif by default
% \usepackage{newtxtext,newtxmath}  % using new Times pkg
\usepackage[scaled]{helvet}  % using Helvetica as sans serif font
% \usepackage[scaled=.8]{DejaVuSansMono}
\usepackage[scaled=0.95]{inconsolata}
% \renewcommand{\familydefault}{\sfdefault}  % using sans serif as default
    %% -- using XeLaTeX to compile --
    % \usepackage{fontspec}
    % \setmainfont{Times New Roman} % sets the roman font
    % \setsansfont{Helvetica} % sets the sans font
    % \setmonofont[Scale=0.8]{DejaVu Sans Mono} % sets the monospace font
\usepackage[autostyle,english=american]{csquotes} % auto convert incorrect "" to ``'' quotes
\MakeOuterQuote{"}

\usepackage{latexsym}
\usepackage{amsmath}
%  \setlength{\abovedisplayskip}{3.5pt}
%  \setlength{\belowdisplayskip}{3.5pt}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsbsy}   % to use faked bold math Greek letter: \pmb{\beta}; or use \boldsymbol{}
\usepackage{upgreek}
\usepackage{mathrsfs}
\usepackage{arydshln}   % To support partitioned matrix with dashed lines
\usepackage{amsthm}
% \usepackage{mathabx}  % Warning: changing the default math font
% \usepackage{MnSymbol} % if using, comment asmsymb and latexsym.
% \usepackage{txfonts}
% \usepackage{lmodern}  % to use symbols in /txfonts/, but use default math fonts
% \usepackage{times}    % using Nimbus Serif, instead of Computer Modern Serif by default

\usepackage{algorithm}
\usepackage{algpseudocode}

\usepackage{graphicx,wrapfig}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{subcaption}
% \usepackage{epsfig}

\usepackage{enumerate}  % to use \begin{enumerate}[(a)]
\usepackage[dvipsnames]{xcolor}
\usepackage[framemethod=TikZ]{mdframed}   % to box theorem statements
    \mdfdefinestyle{yue}{backgroundcolor=gray!10}  % to use \begin{mdframed}[style=yue]
\usepackage{minted}
  % \definecolor{bg}{RGB}{39,40,34}
  % \usemintedstyle{monokai}
  \usemintedstyle{pastie}
  \fvset{
    frame=lines,
    % framerule=1pt,
    framesep=2mm,
    baselinestretch=1.2,
    fontsize=\small,
  }
\usepackage[colorlinks=true,linkcolor=magenta,citecolor=blue,urlcolor=cyan,filecolor=red]{hyperref}
\usepackage{fancyhdr}
  % \pagestyle{fancy}              % For twoside page layout
  % \fancyhead[LE,RO]{\thepage}    % For twoside page layout
  % \renewcommand{\headrulewidth}{0pt}    % Remove header rule
  % \fancyhead{}    % Remove all header contents
  % \cfoot{Page \thepage\ of \pageref{LastPage}}    % Page X of Y in the footer (centered)
% \usepackage[toc,page]{appendix}
  % \renewcommand{\appendixtocname}{List of appendices}
% \usepackage{titlesec}
\usepackage[round]{natbib} %numbers

% % MISCELLANIES
% \usepackage{sectsty}
%     \allsectionsfont{\large\sffamily\bfseries\scshape}
% \usepackage{tocbibind} % to include /reference/ in toc; invalid for /IEEEtran/

% -------------------------------------------------------------------
% library and definitions for TikZ
\usepackage{tikz}
\usetikzlibrary{arrows,matrix,positioning}

% -------------------------------------------------------------------
% theorem style given by /amsthm/
% -----
\theoremstyle{plain}% default
% \newtheorem{theorem}{Theorem}[section]
\newmdtheoremenv[backgroundcolor=gray!10]{theorem}{Theorem}[section]
% \newtheorem{lemma}[theorem]{Lemma}
\newmdtheoremenv[backgroundcolor=gray!0]{lemma}[theorem]{Lemma}
\newtheorem{assumption}{Assumption}[section]
% \newtheorem{proposition}[theorem]{Proposition}
\newmdtheoremenv[backgroundcolor=gray!10]{proposition}[theorem]{Proposition}
\newtheorem*{corollary}{Corollary}
\theoremstyle{definition}
% \newtheorem{definition}{Definition}[section]
\newmdtheoremenv[backgroundcolor=gray!10]{definition}{Definition}[section]
% \newtheorem{conjecture}{Conjecture}[section]
\newmdtheoremenv[backgroundcolor=red!10,roundcorner=3pt]{conjecture}{Conjecture}
\newtheorem{example}{Example}[section]
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\newtheorem*{note}{Note}
\newtheorem{case}{Case}

% ----------------------------------------------------
% command definitions for math symbols (snippet: mathsymb)
% -----

% ----------------------------------------------------



\setcounter{tocdepth}{3}
\hypersetup{
  pdftitle={},
  pdfauthor={Zuogong YUE},
  pdfsubject={Technical Report},
  pdfcreator={Emacs version 24.4 + AUCTeX version 11.88}}


\title{\LARGE \bfseries
    ${1:title}
}
% \author{Zuogong YUE \\ \vspace*{4mm}
% {\small Luxembourg Centre for Systems Biomedicine, \\ \vspace*{-1mm}
% University of Luxembourg}
% }
\author{Zuogong Yue
  \thanks{\upshape Zuogong Yue with
    Luxembourg Centre for Systems Biomedicine, and  Facult\'{e} des Sciences, de la Technologie et de la Communication, University of Luxembourg,
    7 Avenue des Hauts-Fourneaux, L-4362 Esch-sur-Alzette, Luxembourg,
    \href{mailto:zuogong.yue@uni.lu}{\tt zuogong.yue@uni.lu}.}
  % \and Jorge Gon\c{c}alves
  % \thanks{Jorge Gon\c{c}alves with
  %   Department of Engineering, University of Cambridge, CB2 1PZ, UK,
  %   and Luxembourg Centre for Systems Biomedicine, and  Facult'{e} des Sciences, de la Technologie et de la Communication, University of Luxembourg,
  %   7 Avenue des Hauts-Fourneaux, L-4362 Esch-sur-Alzette, Luxembourg,
  %   \href{mailto:jorge.goncalves@uni.lu}{\tt jorge.goncalves@uni.lu}.}
}
\date{}
\fancypagestyle{titlepagefootnote}{%
  \fancyhf{}
  \renewcommand{\headrulewidth}{0pt}
  \fancyfoot[L]{\footnotesize Technical report to the AFR programme}
  \fancyfoot[R]{\footnotesize \today}
}





\begin{document}

\maketitle
    % % center title page when using twoside options
    % \newgeometry{margin=1in}
    % \maketitle
    % \restoregeometry
% \thispagestyle{empty}
\thispagestyle{titlepagefootnote}

% --------------- ABSTRACT -----------------
\begin{abstract}
    Abstract here...
\end{abstract}

% --------- TABLE OF CONTENTS --------------
\newpage
\thispagestyle{empty}
\pagenumbering{Roman}
\tableofcontents
\newpage
% \clearpage\null\newpage  %% to add one blank forcefully
% \cleardoublepage  %% to add one blank page according to twoside print
\setcounter{page}{1}
\pagenumbering{arabic}



% ----------------- MAIN --------------------

$0




\newpage
% --------------- APPENDIX --------------
\appendix
% \section*{Appendices}                                % comment out when using /IEEEtran/
% \addcontentsline{toc}{section}{List of appendices}   % comment out when using /IEEEtran/
\renewcommand{\thesubsection}{\Alph{subsection}}
% % -- using /appendix/ package
% \let\huge=\LARGE
% \let\Large=\large
% \begin{appendices}
    Appendix here ...
% \end{appendices}

\subsection{appendix 1}



% --------------- BIBLIOGRAPHY --------------
% \bibliographystyle{apalike}  %ieeetr,apalike,plain,abbrv,acm,unsrt,alpha,siam
\bibliographystyle{plainnat}   % abbrvnat,unsrtnat; if using "natbib"
{\footnotesize
\bibliography{./ref/library}}

\end{document}
